A nim-type game and continued fractions

نویسنده

  • Tamás Lengyel
چکیده

In the two-person nim-type game called Euclid a position consists of a pair (a, b) of positive integers. Players alternate moves, a move consisting of decreasing the larger number in the current position by any positive multiple of the smaller number, as long as the result remains positive. The first player unable to make a move loses. In the restricted version a set of natural numbers Λ is given, and a move decreases the larger number in the current position by some multiple λ ∈ Λ of the smaller number, as long as the result remains positive. We present winning strategies and tight bounds on the length of the game assuming optimal play. For Λ = Λk = {1, 2, . . . , k}, k ≥ 2, the winner is determined by the parity of the position of the first partial quotient that is different from 1 in a reduced form of the continued fraction expansion of b/a. Apparently, the game was introduced by Cole and Davie [1]. An analysis of the game and more references can be found in [1,7] (see also [3]). The goal is to determine those a and b for which the player who goes first from position (a, b) can guarantee a win with optimal play. There is no tie and the game is finite so one of the players must have a winning strategy for each starting position (a, b). The winning positions are intimately related to the ratio of the larger number to the smaller one when compared to the golden ratio, Φ = 1+ √ 5 2 ≈ 1.6180, as it is demonstrated by

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Winning Strategies and Complexity of Nim-Type Computer Game on Plane

A Nim-type computer game of strategy on plane is described in this paper. It is demonstrated that winning strategies of this two-person game are determined by a system of equations with two unknown integer sequences. Properties of winning points/states are discussed and an O(loglogn) algorithm for the winning states is provided. Two varieties of the Game are also introduced and their winning st...

متن کامل

Cofinite Induced Subgraphs of Impartial Combinatorial Games: An Analysis of CIS-Nim

Given an impartial combinatorial game G, we create a class of related games (CISG) by specifying a finite set of positions in G and forbidding players from moving to those positions (leaving all other game rules unchanged). Such modifications amount to taking cofinite induced subgraphs (CIS) of the original game graph. Some recent numerical/heuristic work has suggested that the underlying struc...

متن کامل

Building Nim

The game of nim, with its simple rules, its elegant solution and its historical importance is the quintessence of a combinatorial game, which is why it led to so many generalizations and modifications. We present a modification with a new spin: building nim. With given finite numbers of tokens and stacks, this two-player game is played in two stages (thus belonging to the same family of games a...

متن کامل

# G 2 Integers 15 ( 2015 ) an Atlas of N - and P - Positions in ‘ Nim with a Pass ’

Perhaps the most famous combinatorial game is Nim, which was completely analyzed by C.L. Bouton in 1902. Since then, the game of Nim has been the subject of many research papers. In Guy and Nowakowski’s Unsolved Problems in Combinatorial Games, the following entry is found: “David Gale would like to see an analysis of Nim played with the option of a single pass by either of the players, which m...

متن کامل

Circular Nim Games

A circular Nim game is a two player impartial combinatorial game consisting of n stacks of tokens placed in a circle. A move consists of choosing k consecutive stacks, and taking at least one token from one or more of the k stacks. The last player able to make a move wins. We prove results on the structure of the losing positions for small n and k and pose some open questions for further invest...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003